import { createRequest } from '/@/api/service';
const module = 'ib/base/v1/AppKnowledgeTypeApi/';
/**
 * @function 查询文章分类列表
 * @param data
 * @param header
 * @returns {Promise}
 */
function APP_KNOWLEDGE_TYPE_TREE_LIST_QUERY(
  data: AppKnowledgeTypeApi.AppKnowledgeTypeTreeListQueryReq,
  header: object = {},
): Promise<AppKnowledgeTypeApi.AppKnowledgeTypeTreeListQueryResp> {
  return createRequest(
    `${process.env.APP_API_URL}${module}queryAppKnowledgeTypeTreeList`,
    data,
    header,
    'POST',
  );
}

export { APP_KNOWLEDGE_TYPE_TREE_LIST_QUERY };
